﻿using Ninject;
using Nx.Bootstrappers;
using Nx.Kernel;

namespace Nx.Services.Extensions
{
    public class NxServicesExtension : IBootstrapperExtension
    {
        public void Extend(IKernel kernel)
        {
            kernel.RegisterInstance<IBindingFactory>(BindingFactory.Instance);
        }

        public string Name
        {
            get { return "Nx.Services Extension"; }
        }
    }
}
